//layui模块的定义
;layui.define(function(exports) {
	function isIE() {
	    if (!!window.ActiveXObject || "ActiveXObject" in window) { 
	    	return true;  
		} else {
			return false; 
		}
	}
	
	var myApi = {};
    /*请求参数：项目类型*/
    myApi.THIS_TYPE_PROJECT = "sso";

    /*api相关*/
    myApi.baseWebPath = "http://localhost:80/zJSystem/views/";
    myApi.baseApiPath = "http://localhost:8080/" + myApi.THIS_TYPE_PROJECT + "/";

	/*请求头:登录验证*/
	myApi.HEADER_FOR_TOKEN = "X-Auth-Token";
	/*请求参数:登录验证*/
	myApi.PARAM_FOR_TOKEN = "XAuthToken";
	/**请求头:移动端标识*/
	myApi.HEADER_MOBILE_FLAG = "Mobile-Flag";
	/**数据存储:用户数据*/
	myApi.CURRENT_USER = "Current_User";
	/**数据存储:登录凭据*/
	myApi.CURRENT_TOKEN = "Current_Token";

	myApi.webs = {
		"login" : myApi.baseWebPath + "system/login.html",
		"changeInitPassword" : myApi.baseWebPath + "system/changeInitPassword.html",
		"index" : myApi.baseWebPath + "main/index.html"
	};

	exports('myApi', myApi);
});
